package com.ljx.funchat.chat.domain.vo.req;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class RedbagSendReq {

    @ApiModelProperty("房间ID")
    @NotNull
    private Long roomId;

    @ApiModelProperty("金额")
    @NotNull
    @Max(value = 1000, message = "金额最大为1000元")
    @Min(value = 1, message = "金额最小为1元")
    private Integer money;

    @ApiModelProperty("数量")
    @NotNull
    @Max(value = 10, message = "数量最多为10个")
    @Min(value = 1, message = "数量最少为1个")
    private Integer number;

    @ApiModelProperty("描述")
    @NotEmpty
    private String desc;

    @ApiModelProperty("验证码")
    @NotNull
    private String code;

    @ApiModelProperty("类型")
    @NotNull
    private Integer msgType;

}
